﻿@page "{httpStatusCode:int?}"
@using Volo.Abp.Extension.Web.Pages.Error.Components.Default
@model Volo.Abp.Extension.Web.Pages.Error.IndexModel
<div class="text-center">
    @if (Model.HttpStatusCode == null || Model.HttpStatusCode == 404)
    {
        <div class="error mx-auto" data-text="404">404</div>
        <p class="lead text-gray-800 mb-5">Page Not Found</p>
        <p class="text-gray-500 mb-0">It looks like you found a glitch in the matrix...</p>
        <a href="~/">← Back to Dashboard</a>
    }
    else
    {
        @await Component.InvokeAsync(typeof(StatusCodePageDefaultViewComponent), new { httpStatusCode = Model.HttpStatusCode })
    }

</div>

